package com.neusoft.yiyang.common.entity.diet;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("meal_template")
public class MealTemplate implements Serializable {

    @TableId
    private Integer templateId;     // 模板ID
    private Integer tagId;          // 饮食标签ID
    private String status;          // 状态
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date mealTime;          // 用餐时间
    private String mealType;        // 餐次
}